package com.warpcode.gpsloggerlite;

public class CountDown extends Thread 
{
	long time;
	public CountDown(long duration)
	{
		time = duration;
	}
                
	public void run()
	{
		long t1 = System.currentTimeMillis();
		long t2 = 0;
		do
		{
			t2 = System.currentTimeMillis();      
		}while(t2 - t1 < time);            
	}
}